import Vue from 'vue'
import App from './App.vue'
import router from './router'
import http from './http'
import 'vant/lib/index.css'
import {
  Dialog,
  Field,
  Notify,
  Tab,
  Tabs,
  Swipe,
  SwipeItem,
  Lazyload
} from 'vant'
import './assets/iconfont/iconfont.css'
Vue.use(Dialog)
Vue.use(Field)
Vue.use(Notify)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Lazyload)

Vue.config.productionTip = false
Vue.prototype.$http = http

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
